package com.wlyuan.index.api.dto.waybill;

import com.wlyuan.finance.dto.IndexBillRelationEventDTO;
import com.wlyuan.index.api.dto.Versioned;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yuanjie
 */
@Data
public class BillIndexDTO implements Versioned, Serializable {
    @ApiModelProperty("对账单ID")
    private Long billId;
    @ApiModelProperty("对账单号")
    private String billNo;
    @ApiModelProperty("对账单名称")
    private String billName;
    @ApiModelProperty("上游信息")
    private IndexBillRelationEventDTO upstream;
    @ApiModelProperty("下游信息")
    private IndexBillRelationEventDTO downstream;
    @ApiModelProperty("运单信息")
    private List<Long> waybillIds;
    @ApiModelProperty("版本号")
    private Long version;
}